package com.cloudfast;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * 启动项目及 切面编程(@EnableAspectJAutoProxy)
 *
 * @author liuyw
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableAspectJAutoProxy
@EnableFeignClients
@ServletComponentScan
public class RunUserCenterApplication {

    public static void main(String[] args) {
        SpringApplication.run(RunUserCenterApplication.class, args);
    }

}
